package com.framework.admin.domain.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
public class ModuleFormFieldDto {
    @ApiModelProperty(value = "id")
    private String id;

    @ApiModelProperty(value = "数据库列名")
    private String columnName;

    @ApiModelProperty(value = "字段代码")
    private String fieldCode;

    @ApiModelProperty(value = "字段类型")
    private String fieldType;

    @ApiModelProperty(value = "字段描述")
    private String fieldDesc;

    @ApiModelProperty(value = "关联模块表单id")
    private String moduleFormId;

    @ApiModelProperty(value = "表单排序")
    private Integer formSort;

    @ApiModelProperty(value = "列表排序")
    private Integer listSort;

    @ApiModelProperty(value = "控件字段格式化")
    private String vueFormat;

    @ApiModelProperty(value = "是否表单显示1是2否")
    private Integer formShow;

    @ApiModelProperty(value = "是否列表显示1是2否")
    private Integer listShow;

    @ApiModelProperty(value = "控件类型")
    private String vueType;

    @ApiModelProperty(value = "控件长度百分比")
    private Integer vueLength;

    @ApiModelProperty(value = "控件label显示值")
    private String vueLabel;

    @ApiModelProperty(value = "是否查询(1是2否)")
    private Integer isQuery;

    @ApiModelProperty(value = "查询类型")
    private String queryType;

    @ApiModelProperty(value = "查询sql")
    private String selectSql;

    @ApiModelProperty(value = "更新Sql")
    private String updateSql;

    @ApiModelProperty(value = "删除sql")
    private String deleteSql;

    @ApiModelProperty(value = "新增sql")
    private String insertSql;

    @ApiModelProperty(value = "查询参数")
    private String queryParams;
}
